import gui.App;
import gui.dialogs.LoginDialog;

import java.sql.SQLException;

import database.SQLServer;
import databasetranslation.DatabaseLists;

public class CCO {	
	public static void main(String [] args) throws SQLException {
		SQLServer server = LoginDialog.getServer();
		if(server==null) {
			return;
		}
		DatabaseLists dbLists = new DatabaseLists(server);
		dbLists.importDataFromDatabase();		
		new App(dbLists, true);
	}
} 

